package com.jlcindia.spring;

public class B {
	private int b;
	private String str;
	public B(int b, String str){					// Constructor Injection
		System.out.println("Constructor: B(b,str)");
		this.b=b;
		this.str=str;
	}
	public void showB(){
		System.out.println("B-showB()");
		System.out.println(b);
		System.out.println(str);
	}
}
